package com.labManage.service;
import com.labManage.entity.Kinds;
import com.labManage.vo.KindVo;

import java.io.UnsupportedEncodingException;
import java.sql.SQLException;
import java.util.List;

public interface KindsService {
    public List<KindVo> queryAllKind() throws SQLException, UnsupportedEncodingException;
    public int addKinds(Kinds kinds) throws UnsupportedEncodingException, SQLException;
    public Kinds getKindsByKindsName(String kindsName) throws UnsupportedEncodingException;

    List<KindVo> queryKindAllLimit(Integer page, Integer limit) throws UnsupportedEncodingException;

    List<Kinds> getAllKindsLimit(Integer page, Integer limit, Kinds condition);

    int modifyKindsInfo(Kinds kinds);

    int deleteKindsInfoById(Long id);
}
